package io.renren.task;

import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;


/**
 * 定时任务启动
 */
@Component
public class MyStartupRunner implements CommandLineRunner {



    @Override
    public void run(String... args) throws Exception {
        new SchedulerTask().task1();
    }
}
